<template>
  <default-layout>
    <header-back text="绑定管理" slot="header"></header-back>
    <div slot="main">
      <!--<div class="cell-list">
        <div class="item">
          <div class="left">
            <i class="xffont xf-QQ"></i>
            <span class="text">QQ账号</span>
          </div>
          <div class="right">
            <span class="text">已绑定</span>
            <i class="xffont xf-youkuohao"></i>
          </div>
        </div>
        <div class="item">
          <div class="left">
            <i class="xffont xf-weixin"></i>
            <span class="text">微信</span>
          </div>
          <div class="right">
            <span class="text light">绑定后可使用微信快速登录</span>
            <i class="xffont xf-youkuohao"></i>
          </div>
        </div>
      </div>-->
      <div class="cell-list">
        <router-link to="/sys/binding/phone" class="item">
          <div class="left">
            <span class="text">更换手机号</span>
          </div>
          <div class="right">
            <span class="text">{{userInfo.aae005}}</span>
            <i class="xffont xf-youkuohao"></i>
          </div>
        </router-link>
      </div>
    </div>
    <transition name="router" mode="out-in">
      <router-view class="fixed-router"></router-view>
    </transition>
  </default-layout>
</template>
<script>
  import DefaultLayout from '../../../layouts/default-layout/default-layout'
  import HeaderBack from '../../../components/header-back/header-back'
  import {mapGetters} from 'vuex'

  export default {
    components: {HeaderBack, DefaultLayout},
    computed: {
      ...mapGetters([
        'userInfo'
      ])
    },
    data() {
      return {}
    }
  }
</script>
<style lang="scss" scoped>
  @import "../../../common/style/variable";
  @import "../../../common/style/cellList";
  .cell-list{
    margin: 0 0 .15rem 0;
  }
</style>
